home *** CD-ROM | disk | FTP | other *** search
/ PC Answers 1995 December / PC Answers December 1995 (disc errors).iso / mxc / flybox2.dir / 00009_ANSWER SCRIPTS.ls < prev    next >
Encoding:
Text File  |  1995-05-02  |  686 b   |  39 lines

  1. global listMTH, gWaitNextAns
  2.  
  3. on WrongAns
  4.   if gWaitNextAns = 1 then
  5.     exit
  6.   end if
  7.   set the castNum of sprite 48 to 50
  8.   updateStage()
  9.   set gWaitNextAns to 1
  10. end
  11.  
  12. on Ans1
  13.   if gWaitNextAns = 1 then
  14.     exit
  15.   end if
  16.   set the castNum of sprite 2 to cast getAt(listMTH, 4)
  17.   set the castNum of sprite 3 to cast getAt(listMTH, 5)
  18.   updateStage()
  19.   set gWaitNextAns to 1
  20. end
  21.  
  22. on Ans2
  23.   if gWaitNextAns = 1 then
  24.     exit
  25.   end if
  26.   set the castNum of sprite 3 to cast getAt(listMTH, 7)
  27.   updateStage()
  28.   set gWaitNextAns to 0
  29. end
  30.  
  31. on Ans3
  32.   if gWaitNextAns = 1 then
  33.     exit
  34.   end if
  35.   set the castNum of sprite 3 to cast getAt(listMTH, 9)
  36.   updateStage()
  37.   set gWaitNextAns to 0
  38. end
  39.